<?php
include($_SERVER['DOCUMENT_ROOT']."/config.php");
include($gDOCUMENT_ROOT_SYSTEM.'templates/include/lib.php');

$source_id = $_GET['source_id'];
$source_type = $_GET['source_type'];

include_once($gDOCUMENT_ROOT_SYSTEM.'include/dao/film_download.php');
$compress_type = film_download::$compress_type;
$resolution_type = film_download::$resolution_type;
$source_type = film_download::$source_type;
$protocol_array = film_download::$protocol;

include_once($gDOCUMENT_ROOT_SYSTEM.'include/spokenLanguageAction.php');
$spokenLanguageAction = new spokenLanguageAction();
$spoken_language_id_and_name = $spokenLanguageAction->getSpokenLanguageIdAndName('zh-Hans-CN');

include_once($gDOCUMENT_ROOT_SYSTEM.'include/writtenLanguageAction.php');
$writtenLanguageAction = new writtenLanguageAction();
$written_language_id_and_name = $writtenLanguageAction->getWrittenLanguageIdAndName('zh-Hans-CN');

include_once($gDOCUMENT_ROOT_SYSTEM.'written_language/check_written_language.php');

include_once($gDOCUMENT_ROOT_SYSTEM.'/check_promulgator.php');
$douban_id = $_GET['douban_id'];
$tpl['title'] = $language_pack['edit_resource'];

$data['source_type'] = $_GET['source_type'];

$user_info = $userAction->getDoubanxiaUserInfoById($user_info['id']);

//输出模板
include($gDOCUMENT_ROOT_SYSTEM.'templates/'.$gTEMPLATE.'/html/resource_edit.tpl');
?>
